from fromework.pages.baidu import BaiduSearchPage


class BaiduSearchFlow:
    @staticmethod
    def search(search_content: str) -> None:
        baidu_search = BaiduSearchPage()
        baidu_search.visit_page()
        baidu_search.send_search_content(search_content)
        baidu_search.search()
        baidu_search.take_screenshot()
